<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>设备-水处理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<script src="js/jquery-1.8.2.min.js" type="text/javascript">
</script>
		<script src="js/jquery.carouFredSel-6.0.4-packed.js"
			type="text/javascript">
</script>
		<script type="text/javascript" src="js/main.js">
</script>
		<script language="javascript" type="text/javascript"
			src="My97DatePicker/WdatePicker.js">
</script>
	</head>
	<body>
		<div class="main">
			<jsp:include page="conter/header.jsp"></jsp:include>
			<div class="certen">
				<jsp:include page="conter/deviceLeft.jsp"></jsp:include>
				<div class="content">
					<div class="mainbar">
						<div class="runbutton">
							<h2>
								<span style="letter-spacing: 20px; margin-left: 33px;">分配设备</span>
							</h2>
							<div class="clr"></div>
						</div>
						<div class="article">

							<form action="allotDeviceAction" method="post">
								<ol>
									<li>
										<label for="deviceNo">
											序列号
										</label>
										<input id="deviceNo" name="deviceNo" class="text"
											value="${deviceNo}" onfocus="this.blur()" />
									</li>
									<li>
										<label for="deviceName">
											设备名称
										</label>
										<input id="deviceName" name="deviceName" class="text"
											value="${deviceName}" onfocus="this.blur()" />
									</li>
									<li>
										<label for="resive">
											接收人
										</label>
										<select style="width: 200px;" class="s" id="userName"
											name="userName">
											<s:iterator id="lists" value="#request.lists">
												<option>
													${userName}
												</option>

											</s:iterator>
										</select>
									</li>
									<li>
										<label for="deviceDescribe">
											描述(可输入
											<span id="counter" style="color: red">200</span>字):
										</label>
										<textarea id="deviceDescribe" name="deviceDescribe"
											value="${deviceDescribe}" rows="8" cols="50"
											onkeyup="checkLength(this);"></textarea>
									</li>
									<li>
										<input type="image" name="imageField" src="images/dis.jpg"
											class="send" onClick="check(document.form.submit();)" />
										<!--<input type="submit"/>-->
										<input type="image" name="imageres" src="images/raset.jpg"
											class="send1" onclick="reset();return false;" />
										<div class="clr"></div>
									</li>
								</ol>
							</form>
						</div>
					</div>
					<div class="clr"></div>
				</div>
			</div>
			<div class="fbg">
				<div class="fbg_resize">
					<jsp:include page="conter/slide.jsp"></jsp:include>
				</div>
			</div>
			<jsp:include page="conter/footer.jsp"></jsp:include>
		</div>
	</body>
</html>